package jp.ac.aiit.yc.softarch.hbcp.model.kj;

import jp.ac.aiit.yc.softarch.hbcp.model.common.User;
public class Card {
	private String content;
	private String title;
	private int x;
	private int y;
	private String uid;
	private User owner;
	private String color;
	private int width;
	private int height;

	public Card() {
		super();
	}
	public Card(String content, String title, int x, int y, String uid, User owner, String color,int width,int height) {
		super();
		this.content = content;
		this.title = title;
		this.x = x;
		this.y = y;
		this.uid = uid;
		this.owner = owner;
		this.color = color;
		this.width = width;
		this.height = height;
	}


	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public User getOwner() {
		return owner;
	}
	public void setOwner(User owner) {
		this.owner = owner;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	@Override
	public String toString() {
		return "Card[uid=" + uid + ","
				  + "title=" + title + ","
				  + "content=" + content + ","
				  + "x=" + x + ","
				  + "y=" + y + ","
				  + "owner=" + owner + ","
				  + "color=" + color + ","
				  + "width=" + width + ","
				  + "height=" + height + ","
				  + "]";
	}

}
